
<link rel="stylesheet" type="text/css" href="{$_G['URL']['LOTTERY_CSS']}lottery/css/reset.css">
<link rel="stylesheet" type="text/css" href="{$_G['URL']['LOTTERY_CSS']}lottery/css/swiper.min.css">
<link rel="stylesheet" type="text/css" href="{$_G['URL']['LOTTERY_CSS']}lottery/css/style.css?v=11">
<script src="{$_G['URL']['LOTTERY_CSS']}lottery/js/screen.js"></script>
<script src="{$_G['URL']['LOTTERY_CSS']}lottery/js/layer/layer.js"></script>
<style type="text/css">
  #yx_planning{
    background-color: #1E88A8;
    height: 100px;
    color: white;
    text-align:center;
    font-size: 25px;
    line-height: 100px;
  }
</style>
<!--<a href='{php echo createMobileUrl("wx",array("themeid"=>$themeid,"from"=>"mobile","r"=>"shopplan.getshops"));}'>-->
<a href='/{php echo createMobileUrl("wx",array("themeid"=>$themeid,"from"=>"mobile","r"=>"shopplan.getshops"));}'>
  <div id="yx_planning" ></div>
</a>

</div>
<script>
  var is_load = false;
  $(document).ready(function () {
    loadBaseInfo();
  });

  //初始化请求
  function loadBaseInfo() {
    var postUrl = '/{php echo createMobileUrl("wx",array("themeid"=>$themeid,"from"=>"mobile","r"=>"shopplan.main"));}';
    if (!is_load){
      $.ajax({
        type:'POST',
        dataType:'json',
        url:postUrl,
        success:function (res){
          var data = res.data;
          var ruleBtn = data.plan_status;
          $("#yx_planning").empty();
          $("#yx_planning").append(decode(ruleBtn));

        }
      });
    }
  }



</script>
{include file='base/addlog'}
</html>
